//
//  RCPopMenuView.h
//  RCsinaMicroBlog
//
//  Created by Mr.Ray on 15/2/1.
//  Copyright (c) 2015年 Ray.peng. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^dismissBlock)();

@interface RCPopMenuView : NSObject
/**
 *  弹出菜单
 *
 *  @param fromView 菜单需要指向的控件
 *  @param content  菜单需要显示的控件
 */
+ (void)popMenuView:(UIView *)fromView content:(UIView *)content dismiss:(dismissBlock)dismiss;

+ (void)popMenuView:(CGRect)fromRect inView:(UIView *)inView content:(UIView *)content dismiss:(dismissBlock)dismiss;

+ (void)popMenuView:(UIView *)fromView contentVc:(UIViewController *)content dismiss:(dismissBlock)dismiss;
@end
